package com.info.zhiduoduo.admin.model.formbean.company;

import org.hibernate.validator.constraints.Range;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
public class CompanyStateFormBean {

    private int compid;
    @Range(max = 6, message = "请选择正确的企业状态")
    private int state;
}
